package com.yuyou.fn.educational.vo;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

public class DiscountCodeCreateVo {

    /** 优惠名称 */
    @NotNull
    private String name;

    /** 优惠类型 0:折扣 1:金额 */
    @NotNull
    private Integer discountType;

    /** discountType 为 0 是优惠金额，为 1 是优惠折扣，0 < “折扣” <= 1 */
    private BigDecimal discountAmount;

    /** 最低消费 */
    @NotNull
    private BigDecimal orderThresholdAmount;

    /**  */
    @NotNull
    private Long areaTeamId;

    /** 区域名称 */
    private String areaTeamName;

    /** 适用业务组 */
    private String busTeamIds;

    /** 适用期 */
    private String periodIds;

    /** 适用产品 */
    private String productIds;

    /** 适用课程 */
    private String courseTemplateIds;

    /** 适用年级 */
    private String gradeIds;

    /** 适用科目 */
    private String subjectIds;

    /** 数量 */
    @NotNull
    private Integer amount ;

    /** 生效开始时间 */
    @NotNull
    private Long effectiveStartTimestamp;

    /** 生效结束时间 */
    @NotNull
    private Long effectiveEndTimestamp;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getDiscountType() {
        return discountType;
    }

    public void setDiscountType(Integer discountType) {
        this.discountType = discountType;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getOrderThresholdAmount() {
        return orderThresholdAmount;
    }

    public void setOrderThresholdAmount(BigDecimal orderThresholdAmount) {
        this.orderThresholdAmount = orderThresholdAmount;
    }

    public Long getAreaTeamId() {
        return areaTeamId;
    }

    public void setAreaTeamId(Long areaTeamId) {
        this.areaTeamId = areaTeamId;
    }

    public String getAreaTeamName() {
        return areaTeamName;
    }

    public void setAreaTeamName(String areaTeamName) {
        this.areaTeamName = areaTeamName;
    }

    public String getBusTeamIds() {
        return busTeamIds;
    }

    public void setBusTeamIds(String busTeamIds) {
        this.busTeamIds = busTeamIds;
    }

    public String getPeriodIds() {
        return periodIds;
    }

    public void setPeriodIds(String periodIds) {
        this.periodIds = periodIds;
    }

    public String getProductIds() {
        return productIds;
    }

    public void setProductIds(String productIds) {
        this.productIds = productIds;
    }

    public String getCourseTemplateIds() {
        return courseTemplateIds;
    }

    public void setCourseTemplateIds(String courseTemplateIds) {
        this.courseTemplateIds = courseTemplateIds;
    }

    public String getGradeIds() {
        return gradeIds;
    }

    public void setGradeIds(String gradeIds) {
        this.gradeIds = gradeIds;
    }

    public String getSubjectIds() {
        return subjectIds;
    }

    public void setSubjectIds(String subjectIds) {
        this.subjectIds = subjectIds;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Long getEffectiveStartTimestamp() {
        return effectiveStartTimestamp;
    }

    public void setEffectiveStartTimestamp(Long effectiveStartTimestamp) {
        this.effectiveStartTimestamp = effectiveStartTimestamp;
    }

    public Long getEffectiveEndTimestamp() {
        return effectiveEndTimestamp;
    }

    public void setEffectiveEndTimestamp(Long effectiveEndTimestamp) {
        this.effectiveEndTimestamp = effectiveEndTimestamp;
    }
}
